package com.itheima.method;

public class TestOverload {
    public static void main(String[] args) {
        short a = 10;
        short b = 20;
        boolean compare = compare(a, b);
        System.out.println(compare);
    }

    public static boolean compare(int a,int b){
        return a == b;
    }

    public static boolean compare(byte a,byte b){
        return a == b;
    }

    public static boolean compare(short a,short b){
        return a == b;
    }

    public static boolean compare(long a,long b){
        return a == b;
    }
}
